﻿using System.Runtime.Serialization;

namespace NewsSystem.ClientModels
{
    [DataContract(Name = "ImageModel")]
    public class ImageModel
    {
        [DataMember(Name = "imageId")]
        public int ImageId { get; set; }

        [DataMember(Name = "url")]
        public string Url { get; set; }

        [DataMember(Name = "title")]
        public string Title { get; set; }
    }
}